﻿@model JX.Core.Entity.UserMessageEntity
	<table class="layui-table">
		<tbody>
			<tr>
				<td style="width: 20%;">
					<strong>发件人</strong>
				</td>
				<td>
					@Model.Sender
				</td>
			</tr>
			<tr>
				<td>
					<strong>收件人</strong>
				</td>
				<td>
					@Model.Incept
				</td>
			</tr>
			<tr>
				<td>
					<strong>发送时间</strong>
				</td>
				<td>
					@Model.SendTime
				</td>
			</tr>
			<tr>
				<td>
					<strong>标题</strong>
				</td>
				<td>
					@Model.Title
				</td>
			</tr>
			<tr>
				<td>
					<strong>内容</strong>
				</td>
				<td>
					@{
						var content = StringHelper.ReplaceEnterNewline(@Model.Content);
					}
					@Html.Raw(content)
				</td>
			</tr>
			<tr>
				<td colspan="2" style="word-break: break-all; text-align:center;">
					<button class="layui-btn layuiadmin-btn-list" type="button" onclick="DeleteSingle(@Model.MessageID,'/Admin/Plus/DelMessage',RefreshParent)">删除</button>
					<a asp-action="MessageSend" asp-route-id="@Model.MessageID" asp-route-atype="Reply" class="layui-btn layuiadmin-btn-list">回复</a>
					<a asp-action="MessageSend" asp-route-id="@Model.MessageID" asp-route-atype="Forward" class="layui-btn layuiadmin-btn-list">转发</a>
					<button class="layui-btn layuiadmin-btn-list" type="button" onclick="layer_close()">取消</button>
				</td>
			</tr>
		</tbody>
	</table>
@Html.AntiForgeryToken()
